﻿#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLuaBase.lua_CSFunction;
#endif

using XLua;
using System.Collections.Generic;


namespace XLua.CSObjectWrap
{
    using Utils = XLua.Utils;
    public class YoozooGameplayLibertyLuaCallFunctionsWrap 
    {
        public static void __Register(RealStatePtr L)
        {
			ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			System.Type type = typeof(Yoozoo.Gameplay.Liberty.LuaCallFunctions);
			Utils.BeginObjectRegister(type, L, translator, 0, 0, 0, 0);
			
			
			
			
			
			
			Utils.EndObjectRegister(type, L, translator, null, null,
			    null, null, null);

		    Utils.BeginClassRegister(type, L, __CreateInstance, 70, 0, 0);
			Utils.RegisterFunc(L, Utils.CLS_IDX, "InitBlueprintPointConfig", _m_InitBlueprintPointConfig_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetObject2Point", _m_SetObject2Point_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "InitMainController", _m_InitMainController_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "InitTrafficSystem", _m_InitTrafficSystem_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "DisposeTrafficSystem", _m_DisposeTrafficSystem_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SwitchCarSystemState", _m_SwitchCarSystemState_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SwitchNpcSystemState", _m_SwitchNpcSystemState_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "PlayTimeline", _m_PlayTimeline_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "StopTimeline", _m_StopTimeline_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "StartAllBlueprint", _m_StartAllBlueprint_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "PauseAllBlueprint", _m_PauseAllBlueprint_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ResumeAllBlueprint", _m_ResumeAllBlueprint_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ClearAllAI", _m_ClearAllAI_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ClearCurrentAI", _m_ClearCurrentAI_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetRpgLightController", _m_SetRpgLightController_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetTimelineRenderScene", _m_SetTimelineRenderScene_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "OnEnterCityScene", _m_OnEnterCityScene_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "OnExitCityScene", _m_OnExitCityScene_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "AddAllCar", _m_AddAllCar_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "OnRpgLevelComplete", _m_OnRpgLevelComplete_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "OnRpgLevelFailed", _m_OnRpgLevelFailed_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "OnSurvivorLevelComplete", _m_OnSurvivorLevelComplete_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "OnSurvivorLevelFailed", _m_OnSurvivorLevelFailed_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "OnDialogueComplete", _m_OnDialogueComplete_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "OnOccupyEffectComplete", _m_OnOccupyEffectComplete_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "OnGuideEvent", _m_OnGuideEvent_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "OnServerResponse", _m_OnServerResponse_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "OnGlobalEvent", _m_OnGlobalEvent_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "AddRecord", _m_AddRecord_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ContainsRecord", _m_ContainsRecord_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "CreateEffectPool", _m_CreateEffectPool_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "OnGuideActionComplete", _m_OnGuideActionComplete_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ChangeMainCharacterAnimSpeed", _m_ChangeMainCharacterAnimSpeed_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "PlayMainCharacterAnim", _m_PlayMainCharacterAnim_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "PlayMainCharacterAnimByHashCode", _m_PlayMainCharacterAnimByHashCode_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "FindAllReflectionProbe", _m_FindAllReflectionProbe_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SwitchHangingNavUpdate", _m_SwitchHangingNavUpdate_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "HeroOnDeckSuccess", _m_HeroOnDeckSuccess_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "HeroDragSuccess", _m_HeroDragSuccess_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ResetVirtualAnalog", _m_ResetVirtualAnalog_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "AddTimelineInstance", _m_AddTimelineInstance_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "DestroyTimelineConstructor", _m_DestroyTimelineConstructor_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ClearTimelines", _m_ClearTimelines_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetTimelineCharacterId", _m_SetTimelineCharacterId_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "RefreshTimelineCharacterId", _m_RefreshTimelineCharacterId_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "InitAllLibertyConfigs", _m_InitAllLibertyConfigs_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetPhysicsLayerCollisionMatrix", _m_SetPhysicsLayerCollisionMatrix_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetStreetEventBossHP", _m_GetStreetEventBossHP_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetStreamingMipmapsActive", _m_GetStreamingMipmapsActive_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetLayerRecursive", _m_SetLayerRecursive_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetStreamingMipmapsActive", _m_SetStreamingMipmapsActive_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetTextureStreamingParams", _m_SetTextureStreamingParams_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetTextureStreamingOnLoadingStart", _m_SetTextureStreamingOnLoadingStart_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "RecoverTextureStreamingOnLoadingFinish", _m_RecoverTextureStreamingOnLoadingFinish_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "OnUIPageOpened", _m_OnUIPageOpened_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "OnUIPageClosed", _m_OnUIPageClosed_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "IsCityInDay", _m_IsCityInDay_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "RaycastGameObject", _m_RaycastGameObject_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GameObjectPoolPreload", _m_GameObjectPoolPreload_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GameObjectPoolPop", _m_GameObjectPoolPop_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GameObjectPoolPush", _m_GameObjectPoolPush_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GameObjectPoolDestroy", _m_GameObjectPoolDestroy_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "IsOverturn", _m_IsOverturn_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ResetVehicle", _m_ResetVehicle_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetVehicleMotorValue", _m_SetVehicleMotorValue_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetVehicleSteerValue", _m_SetVehicleSteerValue_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetVehicleHandbrake", _m_SetVehicleHandbrake_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetVehicleDoorHandle", _m_SetVehicleDoorHandle_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetVehicleSpeed", _m_GetVehicleSpeed_xlua_st_);
            
			
            
			
			
			
            Utils.RegisterFunc(L, Utils.CLS_IDX, "New", __CreateInstanceNew);
			Utils.EndClassRegister(type, L, translator);
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstance(RealStatePtr L)
        {
            return LuaAPI.luaL_error(L, "Yoozoo.Gameplay.Liberty.LuaCallFunctions does not have a constructor!");
        }

        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstanceNew(RealStatePtr L)
        {
            return LuaAPI.luaL_error(L, "Yoozoo.Gameplay.Liberty.LuaCallFunctions does not have a constructor!");
        }

        
		
        
		
        
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_InitBlueprintPointConfig_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    UnityEngine.TextAsset _json = (UnityEngine.TextAsset)translator.GetObject(L, 1, typeof(UnityEngine.TextAsset));
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.InitBlueprintPointConfig( _json );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetObject2Point_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    UnityEngine.GameObject _o = (UnityEngine.GameObject)translator.GetObject(L, 1, typeof(UnityEngine.GameObject));
                    string _pointName = LuaAPI.lua_tostring(L, 2);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.SetObject2Point( _o, _pointName );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_InitMainController_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    UnityEngine.GameObject _controller = (UnityEngine.GameObject)translator.GetObject(L, 1, typeof(UnityEngine.GameObject));
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.InitMainController( _controller );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_InitTrafficSystem_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    Yoozoo.Gameplay.Liberty.AI.LibertyTrafficData _trafficData = (Yoozoo.Gameplay.Liberty.AI.LibertyTrafficData)translator.GetObject(L, 1, typeof(Yoozoo.Gameplay.Liberty.AI.LibertyTrafficData));
                    System.Action _callBack = translator.GetDelegate<System.Action>(L, 2);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.InitTrafficSystem( _trafficData, _callBack );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_DisposeTrafficSystem_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.DisposeTrafficSystem(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SwitchCarSystemState_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    bool _enable = LuaAPI.lua_toboolean(L, 1);
                    bool _excludePlayerCar = LuaAPI.lua_toboolean(L, 2);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.SwitchCarSystemState( _enable, _excludePlayerCar );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SwitchNpcSystemState_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    bool _enable = LuaAPI.lua_toboolean(L, 1);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.SwitchNpcSystemState( _enable );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_PlayTimeline_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    string _name = LuaAPI.lua_tostring(L, 1);
                    System.Action _onStop = translator.GetDelegate<System.Action>(L, 2);
                    System.Action _onStart = translator.GetDelegate<System.Action>(L, 3);
                    UnityEngine.Transform _parent = (UnityEngine.Transform)translator.GetObject(L, 4, typeof(UnityEngine.Transform));
                    UnityEngine.GameObject _changeModel = (UnityEngine.GameObject)translator.GetObject(L, 5, typeof(UnityEngine.GameObject));
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.PlayTimeline( _name, _onStop, _onStart, _parent, _changeModel );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_StopTimeline_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string _name = LuaAPI.lua_tostring(L, 1);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.StopTimeline( _name );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_StartAllBlueprint_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    UnityEngine.GameObject _root = (UnityEngine.GameObject)translator.GetObject(L, 1, typeof(UnityEngine.GameObject));
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.StartAllBlueprint( _root );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_PauseAllBlueprint_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    UnityEngine.GameObject _root = (UnityEngine.GameObject)translator.GetObject(L, 1, typeof(UnityEngine.GameObject));
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.PauseAllBlueprint( _root );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ResumeAllBlueprint_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    UnityEngine.GameObject _root = (UnityEngine.GameObject)translator.GetObject(L, 1, typeof(UnityEngine.GameObject));
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.ResumeAllBlueprint( _root );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ClearAllAI_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.ClearAllAI(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ClearCurrentAI_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.ClearCurrentAI(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetRpgLightController_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    ImageEffects.LightController _lightController = (ImageEffects.LightController)translator.GetObject(L, 1, typeof(ImageEffects.LightController));
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.SetRpgLightController( _lightController );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetTimelineRenderScene_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    UnityEngine.GameObject _freeRenderScene = (UnityEngine.GameObject)translator.GetObject(L, 1, typeof(UnityEngine.GameObject));
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.SetTimelineRenderScene( _freeRenderScene );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnEnterCityScene_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    int _sceneType = LuaAPI.xlua_tointeger(L, 1);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.OnEnterCityScene( _sceneType );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnExitCityScene_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.OnExitCityScene(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_AddAllCar_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.AddAllCar(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnRpgLevelComplete_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    int _levelId = LuaAPI.xlua_tointeger(L, 1);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.OnRpgLevelComplete( _levelId );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnRpgLevelFailed_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    int _levelId = LuaAPI.xlua_tointeger(L, 1);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.OnRpgLevelFailed( _levelId );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnSurvivorLevelComplete_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    int _levelId = LuaAPI.xlua_tointeger(L, 1);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.OnSurvivorLevelComplete( _levelId );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnSurvivorLevelFailed_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    int _levelId = LuaAPI.xlua_tointeger(L, 1);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.OnSurvivorLevelFailed( _levelId );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnDialogueComplete_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    int _dialogueId = LuaAPI.xlua_tointeger(L, 1);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.OnDialogueComplete( _dialogueId );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnOccupyEffectComplete_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    int _streetId = LuaAPI.xlua_tointeger(L, 1);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.OnOccupyEffectComplete( _streetId );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnGuideEvent_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    int _eventId = LuaAPI.xlua_tointeger(L, 1);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.OnGuideEvent( _eventId );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnServerResponse_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string _respName = LuaAPI.lua_tostring(L, 1);
                    string _key = LuaAPI.lua_tostring(L, 2);
                    string _val = LuaAPI.lua_tostring(L, 3);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.OnServerResponse( _respName, _key, _val );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnGlobalEvent_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string _eventName = LuaAPI.lua_tostring(L, 1);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.OnGlobalEvent( _eventName );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_AddRecord_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string _record = LuaAPI.lua_tostring(L, 1);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.AddRecord( _record );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ContainsRecord_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string _record = LuaAPI.lua_tostring(L, 1);
                    
                        var gen_ret = Yoozoo.Gameplay.Liberty.LuaCallFunctions.ContainsRecord( _record );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_CreateEffectPool_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    int _configId = LuaAPI.xlua_tointeger(L, 1);
                    int _initNum = LuaAPI.xlua_tointeger(L, 2);
                    int _type = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.GameObject _originObject = (UnityEngine.GameObject)translator.GetObject(L, 4, typeof(UnityEngine.GameObject));
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.CreateEffectPool( _configId, _initNum, _type, _originObject );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnGuideActionComplete_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    int _actionType = LuaAPI.xlua_tointeger(L, 1);
                    string _actionParams = LuaAPI.lua_tostring(L, 2);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.OnGuideActionComplete( _actionType, _actionParams );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ChangeMainCharacterAnimSpeed_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    float _speed = (float)LuaAPI.lua_tonumber(L, 1);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.ChangeMainCharacterAnimSpeed( _speed );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_PlayMainCharacterAnim_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string _triggerName = LuaAPI.lua_tostring(L, 1);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.PlayMainCharacterAnim( _triggerName );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_PlayMainCharacterAnimByHashCode_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    int _hashCode = LuaAPI.xlua_tointeger(L, 1);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.PlayMainCharacterAnimByHashCode( _hashCode );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_FindAllReflectionProbe_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.FindAllReflectionProbe(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SwitchHangingNavUpdate_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    bool _active = LuaAPI.lua_toboolean(L, 1);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.SwitchHangingNavUpdate( _active );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_HeroOnDeckSuccess_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    int _heroId = LuaAPI.xlua_tointeger(L, 1);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.HeroOnDeckSuccess( _heroId );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_HeroDragSuccess_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    int _heroId = LuaAPI.xlua_tointeger(L, 1);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.HeroDragSuccess( _heroId );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ResetVirtualAnalog_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    UnityEngine.GameObject _go = (UnityEngine.GameObject)translator.GetObject(L, 1, typeof(UnityEngine.GameObject));
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.ResetVirtualAnalog( _go );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_AddTimelineInstance_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 2&& (LuaAPI.lua_isnil(L, 1) || LuaAPI.lua_type(L, 1) == LuaTypes.LUA_TSTRING)&& translator.Assignable<System.Action<Yoozoo.Core.Timeline.TimelineConstructor>>(L, 2)) 
                {
                    string _tLineName = LuaAPI.lua_tostring(L, 1);
                    System.Action<Yoozoo.Core.Timeline.TimelineConstructor> _callback = translator.GetDelegate<System.Action<Yoozoo.Core.Timeline.TimelineConstructor>>(L, 2);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.AddTimelineInstance( _tLineName, _callback );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 1&& (LuaAPI.lua_isnil(L, 1) || LuaAPI.lua_type(L, 1) == LuaTypes.LUA_TSTRING)) 
                {
                    string _tLineName = LuaAPI.lua_tostring(L, 1);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.AddTimelineInstance( _tLineName );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.Liberty.LuaCallFunctions.AddTimelineInstance!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_DestroyTimelineConstructor_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string _tLineName = LuaAPI.lua_tostring(L, 1);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.DestroyTimelineConstructor( _tLineName );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ClearTimelines_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.ClearTimelines(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetTimelineCharacterId_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    int _characterId = LuaAPI.xlua_tointeger(L, 1);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.SetTimelineCharacterId( _characterId );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_RefreshTimelineCharacterId_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.RefreshTimelineCharacterId(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_InitAllLibertyConfigs_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    System.Action _callback = translator.GetDelegate<System.Action>(L, 1);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.InitAllLibertyConfigs( _callback );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetPhysicsLayerCollisionMatrix_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    string _jsonPath = LuaAPI.lua_tostring(L, 1);
                    System.Action _callback = translator.GetDelegate<System.Action>(L, 2);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.SetPhysicsLayerCollisionMatrix( _jsonPath, _callback );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetStreetEventBossHP_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    int _hp;
                    int _maxHp;
                    
                        var gen_ret = Yoozoo.Gameplay.Liberty.LuaCallFunctions.GetStreetEventBossHP( out _hp, out _maxHp );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    LuaAPI.xlua_pushinteger(L, _hp);
                        
                    LuaAPI.xlua_pushinteger(L, _maxHp);
                        
                    
                    
                    
                    return 3;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetStreamingMipmapsActive_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    
                        var gen_ret = Yoozoo.Gameplay.Liberty.LuaCallFunctions.GetStreamingMipmapsActive(  );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetLayerRecursive_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    UnityEngine.GameObject _target = (UnityEngine.GameObject)translator.GetObject(L, 1, typeof(UnityEngine.GameObject));
                    int _layer = LuaAPI.xlua_tointeger(L, 2);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.SetLayerRecursive( _target, _layer );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetStreamingMipmapsActive_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 2&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 2)) 
                {
                    bool _enable = LuaAPI.lua_toboolean(L, 1);
                    bool _addAllCameras = LuaAPI.lua_toboolean(L, 2);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.SetStreamingMipmapsActive( _enable, _addAllCameras );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 1&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 1)) 
                {
                    bool _enable = LuaAPI.lua_toboolean(L, 1);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.SetStreamingMipmapsActive( _enable );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.Liberty.LuaCallFunctions.SetStreamingMipmapsActive!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetTextureStreamingParams_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 4&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)) 
                {
                    int _memoryBudget = LuaAPI.xlua_tointeger(L, 1);
                    int _maxLevelReduction = LuaAPI.xlua_tointeger(L, 2);
                    int _renderersPerFrame = LuaAPI.xlua_tointeger(L, 3);
                    int _maxFileIORequests = LuaAPI.xlua_tointeger(L, 4);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.SetTextureStreamingParams( _memoryBudget, _maxLevelReduction, _renderersPerFrame, _maxFileIORequests );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) 
                {
                    int _memoryBudget = LuaAPI.xlua_tointeger(L, 1);
                    int _maxLevelReduction = LuaAPI.xlua_tointeger(L, 2);
                    int _renderersPerFrame = LuaAPI.xlua_tointeger(L, 3);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.SetTextureStreamingParams( _memoryBudget, _maxLevelReduction, _renderersPerFrame );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) 
                {
                    int _memoryBudget = LuaAPI.xlua_tointeger(L, 1);
                    int _maxLevelReduction = LuaAPI.xlua_tointeger(L, 2);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.SetTextureStreamingParams( _memoryBudget, _maxLevelReduction );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 1&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)) 
                {
                    int _memoryBudget = LuaAPI.xlua_tointeger(L, 1);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.SetTextureStreamingParams( _memoryBudget );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.Liberty.LuaCallFunctions.SetTextureStreamingParams!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetTextureStreamingOnLoadingStart_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.SetTextureStreamingOnLoadingStart(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_RecoverTextureStreamingOnLoadingFinish_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.RecoverTextureStreamingOnLoadingFinish(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnUIPageOpened_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string _pageConfigName = LuaAPI.lua_tostring(L, 1);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.OnUIPageOpened( _pageConfigName );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnUIPageClosed_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string _pageConfigName = LuaAPI.lua_tostring(L, 1);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.OnUIPageClosed( _pageConfigName );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_IsCityInDay_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    
                        var gen_ret = Yoozoo.Gameplay.Liberty.LuaCallFunctions.IsCityInDay(  );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_RaycastGameObject_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    UnityEngine.Vector3 _origin;translator.Get(L, 1, out _origin);
                    UnityEngine.Vector3 _direction;translator.Get(L, 2, out _direction);
                    float _maxDistance = (float)LuaAPI.lua_tonumber(L, 3);
                    int _layerMask = LuaAPI.xlua_tointeger(L, 4);
                    string _tag = LuaAPI.lua_tostring(L, 5);
                    
                        var gen_ret = Yoozoo.Gameplay.Liberty.LuaCallFunctions.RaycastGameObject( _origin, _direction, _maxDistance, _layerMask, _tag );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GameObjectPoolPreload_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    string _path = LuaAPI.lua_tostring(L, 1);
                    System.Action _callback = translator.GetDelegate<System.Action>(L, 2);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.GameObjectPoolPreload( _path, _callback );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GameObjectPoolPop_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 3&& (LuaAPI.lua_isnil(L, 1) || LuaAPI.lua_type(L, 1) == LuaTypes.LUA_TSTRING)&& translator.Assignable<System.Action<UnityEngine.GameObject>>(L, 2)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3)) 
                {
                    string _path = LuaAPI.lua_tostring(L, 1);
                    System.Action<UnityEngine.GameObject> _callback = translator.GetDelegate<System.Action<UnityEngine.GameObject>>(L, 2);
                    bool _autoActive = LuaAPI.lua_toboolean(L, 3);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.GameObjectPoolPop( _path, _callback, _autoActive );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 2&& (LuaAPI.lua_isnil(L, 1) || LuaAPI.lua_type(L, 1) == LuaTypes.LUA_TSTRING)&& translator.Assignable<System.Action<UnityEngine.GameObject>>(L, 2)) 
                {
                    string _path = LuaAPI.lua_tostring(L, 1);
                    System.Action<UnityEngine.GameObject> _callback = translator.GetDelegate<System.Action<UnityEngine.GameObject>>(L, 2);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.GameObjectPoolPop( _path, _callback );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.Liberty.LuaCallFunctions.GameObjectPoolPop!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GameObjectPoolPush_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    string _path = LuaAPI.lua_tostring(L, 1);
                    UnityEngine.GameObject _go = (UnityEngine.GameObject)translator.GetObject(L, 2, typeof(UnityEngine.GameObject));
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.GameObjectPoolPush( _path, _go );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GameObjectPoolDestroy_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    string _path = LuaAPI.lua_tostring(L, 1);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.GameObjectPoolDestroy( _path );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_IsOverturn_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    
                        var gen_ret = Yoozoo.Gameplay.Liberty.LuaCallFunctions.IsOverturn(  );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ResetVehicle_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.ResetVehicle(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetVehicleMotorValue_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    float _v = (float)LuaAPI.lua_tonumber(L, 1);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.SetVehicleMotorValue( _v );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetVehicleSteerValue_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    float _v = (float)LuaAPI.lua_tonumber(L, 1);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.SetVehicleSteerValue( _v );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetVehicleHandbrake_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    float _v = (float)LuaAPI.lua_tonumber(L, 1);
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.SetVehicleHandbrake( _v );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetVehicleDoorHandle_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    
                    Yoozoo.Gameplay.Liberty.LuaCallFunctions.SetVehicleDoorHandle(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetVehicleSpeed_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    
                        var gen_ret = Yoozoo.Gameplay.Liberty.LuaCallFunctions.GetVehicleSpeed(  );
                        LuaAPI.lua_pushnumber(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        
        
        
        
        
		
		
		
		
    }
}
